package com.xinzhidi.web.onlineMonitor.domain.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 抄表po
 *
 * @author cx
 * @date 2023-06-09
 */
@ApiModel(value = "数据管理查询对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class MeterReadPo {

    @ApiModelProperty(value = "数据类型  1：楼栋列表  2：单元列表  3：住户列表")
    @NotBlank(message = "数据类型不能为空")
    private String type;

    @ApiModelProperty(value = "设备类型  1：热量表  2：阀门")
    @NotNull.List(value = {@NotNull(message = "设备类型不能为空")})
    private List<String> equipmentTypes;

    @ApiModelProperty(value = "阀门dtuId")
    private Long valveDtuId;

//    @ApiModelProperty(value = "阀门uuid")
//    private String valveUuid;

    @ApiModelProperty(value = "热量表dtuId")
    private Long heatDtuId;

//    @ApiModelProperty(value = "热量表uuid")
//    private String heatUuid;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "阀门地址域")
    private String valveAddress;

    @ApiModelProperty(value = "热量表地址域")
    private String heatAddress;

    @ApiModelProperty(value = "协议类型 1：户用阀门协议 2：单元阀门协议 3：室温采集器协议 4：户用热量表协议 5：单元热量表协议")
    @NotBlank(message = "协议类型不能为空")
    private String protocolType;


}